package com.quanyan.runningriding.entity.vo.run.req;

import com.quanyan.common.validation.base.Insert;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * BatchSynchroniseMusic
 *
 * @author Tu Chun
 * @date 2016/9/23
 */
public class BatchSynchroniseMusic {
    @NotEmpty(groups = Insert.class)
    private String userId;
    @NotNull(groups = Insert.class)
    private Integer musicId;
    /**
     * 是否收藏 2取消收藏 1收藏
     */
    @NotNull(groups = Insert.class)
    private Byte isCollection;

    public Byte getIsCollection() {
        return isCollection;
    }

    public void setIsCollection(Byte isCollection) {
        this.isCollection = isCollection;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getMusicId() {
        return musicId;
    }

    public void setMusicId(Integer musicId) {
        this.musicId = musicId;
    }
}
